/*************************************************************************
    > File Name: filecode.c
    > Author: ma6174
    > Mail: ma6174@163.com 
    > Created Time: Fri 31 Oct 2025 05:08:57 PM CST
 ************************************************************************/

#include<stdio.h>

#define ONE (1<<0)
#define TWO (1<<1)
#define THREE (1<<2)
#define FOUR (1<<3)
#define FIVE (1<<4)

//code 1
void PrintTest(int flags)
{
	if(flags & ONE)
	{
		printf("one\n");
	}
	if(flags & TWO)
	{
		printf("two\n");
	}
	if(flags & THREE)
	{
		printf("three\n");
	}
	if(flags & FOUR)
	{
		printf("four\n");
	}
	if(flags & FIVE)
	{
		printf("five\n");
	}
}


int main()
{
	printf("======================\n");
	PrintTest(ONE);
	printf("======================\n");
	PrintTest(TWO);
	printf("======================\n");
	PrintTest(THREE);
	printf("======================\n");
	PrintTest(ONE | TWO);
	printf("======================\n");
	PrintTest(ONE | TWO | THREE);
	printf("======================\n");
	PrintTest(ONE | TWO | THREE | FOUR);
	printf("======================\n");
	return 0;
}


